<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head><title><?php echo $TARGET->static_page->get('title'); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />

<meta name="description" content="<?php echo ($TARGET->static_page->get('metaDescription') != ''); ?>" />
<meta name="keywords" content="<?php echo ($TARGET->static_page->get('metaKeywords') != '' ); ?>" />

<script type="text/javascript" src="/third_party/jquery/jquery-1.3.2.js"></script>
<script type="text/javascript" src="/js/common.js"></script>

<script type="text/javascript" src="/third_party/jquery/jquery.autocomplete.js"></script>
<script type="text/javascript" src="/third_party/jquery/jquery.maskedinput.js"></script>
<link rel="stylesheet" type="text/css" href="/third_party/jquery/jquery.autocomplete.css" />

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link href="/css/print.css" rel="stylesheet" type="text/css" media="print">
<link rel="shortcut icon" href="/i/favicon.ico" />

</head>

<body>
 <div class="layout">    
    <div class="header">    
        <div id="content-columns">
            <div class="leftcolumn">
            <?php if ($TARGET->user->display_name() != '') {?>
                <div style="font-size: 12px;"><h2><?php echo $TARGET->user->display_name(); ?>&nbsp;(<a href="/profile/logout">logout</a>)</h2></div>
            <?php } ?>
            </div>
            <div class="content" style="background: #00B3EF;padding: 10px 5px 0;">
                <span style="color:#FFFFFF;font-size:16px;font-weight:bold;">International messenger v0.0.1</span>
            </div>
            <div class="rightcolumn">
                <div style="padding-left: 15px;">
                </div>               
            </div>
        </div>           
    </div>    
    <div id="content-columns" style="padding-top: 30px;">
        <div class="leftcolumn">
        

<?php include 'menu.htm';?>
            
        </div>
        <div class="content">
<?php $content_file = "{$TARGET->template_root}/{$TARGET->name_of_controller}/{$TARGET->action}.htm";
    if ( is_file($content_file) ) {
        include $content_file;
    }
    else {
        include 'static/main.htm';
    }
?>
        </div>
        <div class="rightcolumn">
            <div  style="padding: 15px;">
<?php $content_file = "{$TARGET->template_root}/{$TARGET->name_of_controller}/right.htm";
    if ( is_file($content_file) ) {
        include $content_file;
    }
    else {
        include 'static/right.htm';
    }
?>
            </div>
        </div>
    </div>
 </div>
 </body>
</html>